using System;
using FBGraph.Models;

namespace FBGraph.Controllers
{
    /// <summary>The videos this user has been tagged in. Requires the user_videos or friend_videos permission.</summary>
    public partial class VideosController : FBGraphController, IFBGraphConnectionController<Video>
    {
        /// <summary>Initializes an instance of <see cref="VideosController" />.</summary>
        public VideosController(IFBGraphContext context)
            : base(context)
        {
        }
        
        /// <summary>Gets the name of the connection the <see cref="VideosController" /> handles requests for.</summary>
        String IFBGraphConnectionController<Video>.ConnectionName
        {
            get
            {
                return "videos";
            }
        }
    }
}